/* 
 * Since 2008 - 2013
 */
package com.hh.bss.oa.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.oa.dao.*;
import com.hh.bss.oa.entity.*;
import com.hh.bss.oa.service.*;
import com.hh.bss.oa.vo.query.*;
import com.hh.bss.util.*;





public class OaMeetingRoomTakingQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** 会议室id */
	private java.lang.Integer roomId;
	/** 会议主题 */
	private java.lang.String title;
	/** 周期类型             一次（默认）：1             每天：2             每周：3             每两周：4 */
	private java.lang.Integer periodType;
	/** 预定日期             如果             周期方式：一次（默认）的，则该预定周期不能为空 */
	private java.util.Date orderDateBegin;
	private java.util.Date orderDateEnd;
	private java.util.Date orderDate;
	public java.util.Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(java.util.Date orderDate) {
		this.orderDate = orderDate;
	}

	/** 开始时间 */
	private java.util.Date beginDt;
	/** 结束时间 */
	private java.util.Date endDt;
	/** 主持人帐号 */
	private java.lang.String chairAccount;
	/** 预定人 */
	private java.lang.String orderAccount;
	/** 参会人 */
	private java.lang.String person;
	/** 预订状态(A-有效 B-取消) */
	private java.lang.String status;
	public Integer getBranchCompanyId() {
		return branchCompanyId;
	}

	public void setBranchCompanyId(Integer branchCompanyId) {
		this.branchCompanyId = branchCompanyId;
	}

	public String getMeetingName() {
		return meetingName;
	}

	public void setMeetingName(String meetingName) {
		this.meetingName = meetingName;
	}

	/** 备注 */
	private java.lang.String comment;
	/** creator */
	private java.lang.String creator;
	/** createDt */
	private java.util.Date createDtBegin;
	private java.util.Date createDtEnd;
	private Integer branchCompanyId;
	private String meetingName;
	/** modifier */
	private java.lang.String modifier;
	/** modifiedDt */
	private java.util.Date modifiedDtBegin;
	private java.util.Date modifiedDtEnd;

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.Integer getRoomId() {
		return this.roomId;
	}
	
	public void setRoomId(java.lang.Integer value) {
		this.roomId = value;
	}
	
	public java.lang.String getTitle() {
		return this.title;
	}
	
	public void setTitle(java.lang.String value) {
		this.title = value;
	}
	
	public java.lang.Integer getPeriodType() {
		return this.periodType;
	}
	
	public void setPeriodType(java.lang.Integer value) {
		this.periodType = value;
	}
	
	public java.util.Date getOrderDateBegin() {
		return this.orderDateBegin;
	}
	
	public void setOrderDateBegin(java.util.Date value) {
		this.orderDateBegin = value;
	}	
	
	public java.util.Date getOrderDateEnd() {
		return this.orderDateEnd;
	}
	
	public void setOrderDateEnd(java.util.Date value) {
		this.orderDateEnd = value;
	}
	
	public java.util.Date getBeginDt() {
		return this.beginDt;
	}
	
	public void setBeginDt(java.util.Date value) {
		this.beginDt = value;
	}
	
	public java.util.Date getEndDt() {
		return this.endDt;
	}
	
	public void setEndDt(java.util.Date value) {
		this.endDt = value;
	}
	
	public java.lang.String getChairAccount() {
		return this.chairAccount;
	}
	
	public void setChairAccount(java.lang.String value) {
		this.chairAccount = value;
	}
	
	public java.lang.String getOrderAccount() {
		return this.orderAccount;
	}
	
	public void setOrderAccount(java.lang.String value) {
		this.orderAccount = value;
	}
	
	public java.lang.String getPerson() {
		return this.person;
	}
	
	public void setPerson(java.lang.String value) {
		this.person = value;
	}
	
	public java.lang.String getStatus() {
		return this.status;
	}
	
	public void setStatus(java.lang.String value) {
		this.status = value;
	}
	
	public java.lang.String getComment() {
		return this.comment;
	}
	
	public void setComment(java.lang.String value) {
		this.comment = value;
	}
	
	public java.lang.String getCreator() {
		return this.creator;
	}
	
	public void setCreator(java.lang.String value) {
		this.creator = value;
	}
	
	public java.util.Date getCreateDtBegin() {
		return this.createDtBegin;
	}
	
	public void setCreateDtBegin(java.util.Date value) {
		this.createDtBegin = value;
	}	
	
	public java.util.Date getCreateDtEnd() {
		return this.createDtEnd;
	}
	
	public void setCreateDtEnd(java.util.Date value) {
		this.createDtEnd = value;
	}
	
	public java.lang.String getModifier() {
		return this.modifier;
	}
	
	public void setModifier(java.lang.String value) {
		this.modifier = value;
	}
	
	public java.util.Date getModifiedDtBegin() {
		return this.modifiedDtBegin;
	}
	
	public void setModifiedDtBegin(java.util.Date value) {
		this.modifiedDtBegin = value;
	}	
	
	public java.util.Date getModifiedDtEnd() {
		return this.modifiedDtEnd;
	}
	
	public void setModifiedDtEnd(java.util.Date value) {
		this.modifiedDtEnd = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

